<Gui:ViewControl x:Class="Outcoder.Calcium.TextEditor.TextEditorView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Gui="clr-namespace:Outcoder.Calcium.Gui;assembly=Outcoder.Calcium.Client"
    xmlns:Module="clr-namespace:Outcoder.Calcium.TextEditor"
	DataContext="{Binding ViewModel, RelativeSource={RelativeSource Self}}">
	<Gui:ViewControl.ViewModel>
		<Module:TextEditorViewModel />
	</Gui:ViewControl.ViewModel>
	<Grid>
		<TextBox Name="TextBox" 
				 TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
				 Text="{Binding TextContent, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"/>		
	</Grid>
</Gui:ViewControl>
